//
//  DirectionsViewController.h
//  DNDzgz
//
//  Created by gimenete on 17/05/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "UICGDirections.h"
#import "UICRouteOverlayMapView.h"
#import "MBProgressHUD.h"
#import "MyAnnotation.h"


@interface DirectionsViewController : UIViewController <MKMapViewDelegate, UICGDirectionsDelegate> {

	// The map
	IBOutlet MKMapView *routeMapView;
	
	MyAnnotation *target;
	
	UIBarButtonItem *centerButton;
	
	UICRouteOverlayMapView *routeOverlayView;
	
	BOOL localized;
	
	UICGDirections *diretions; // misspelled to avoid conflict
	
}

- (id)initWithAnnotation:(MyAnnotation *)annotation;
- (void)moveToUserLocation;
- (void)calculateDirections;

@property(readwrite, retain) MyAnnotation *target;

@end
